import React, { Component } from 'react'

export class MainProductList extends Component {
  render() {
    const { productList } = this.props;
    return (
      <div>
        商品列表
        <ul>
          {
            productList.map(product => {
              return <li key={product.title}>{product.title}</li>
            })
          }
        </ul>
      </div>
    )
  }
}

export default MainProductList